package com.usian.apis.admin;

import com.usian.model.admin.dtos.SensitiveDto;
import com.usian.model.admin.pojos.AdSensitive;
import com.usian.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;

@Api(value = "敏感词汇管理", tags = "adSensitive", description = "铭感词汇管理API")
public interface AdSensitiveControllerApi {
    /**
     * 查看表
     *
     * @param sensitiveDto
     * @return
     */
    public ResponseResult findList(SensitiveDto sensitiveDto);

    /**
     * 添加
     *
     * @param adSensitive
     * @return
     */
    public ResponseResult add(AdSensitive adSensitive);

    /**
     * 修改
     *
     * @param adSensitive
     * @return
     */
    public ResponseResult update(AdSensitive adSensitive);

    /**
     * 删除
     *
     * @param id
     * @return
     */
    public ResponseResult del(Integer id);

}
